package com.wilcom.system;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.wilcom.common.security.annotation.EnableCustomConfig;
import com.wilcom.common.security.annotation.EnableRyFeignClients;
import com.wilcom.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


//@SpringBootApplication(exclude = {RedisAutoConfiguration.class})
//@MapperScan("com.wilcom.system.mapper")
//@EnableScheduling
//@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
//@EnableDiscoveryClient


@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
@Slf4j
@MapperScan("com.wilcom.system.mapper")
public class WilcomSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(WilcomSystemApplication.class, args);
        log.info("基础平台服务启动成功。。");
    }
}
